package com.example.demo.edu.service.imp;

import com.example.demo.edu.bean.EduTeacher;
import com.example.demo.edu.mapper.EduTeacherMapper;
import com.example.demo.edu.service.EduTeacherMapperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EduTeacherMapperServiceimp implements EduTeacherMapperService {
    private EduTeacherMapper eduTeacherMapper;
    @Autowired
    public void setEduTeacherMapper(EduTeacherMapper eduTeacherMapper) {
        this.eduTeacherMapper = eduTeacherMapper;
    }

    @Override
    public List<EduTeacher> selectAll() {
        return eduTeacherMapper.selectAll();
    }
}
